// 资源管理

package basic

import (
	"api/common/web"
	"api/models"
	"net/http"
)

// @TagName 资源管理
// @Controller ResourceController
type ResourceController struct{}

// @Title 资源列表数据
// @Route /resource/list --> List
// @Method post
func (this *ResourceController) List(w http.ResponseWriter, r *http.Request) {
	defer web.PanicHandler(w, r)
	web.JsonCallBak(w, r, &models.Resource{})
}
